#include <stdlib.h>
#include <stdbool.h>

typedef int Item;

typedef struct node {
    Item item;
    struct node * left;
    struct node * right;
} Node;

typedef struct {
    struct node * root;
    int len;
} BinSeaTree;


//interface

void InitializeBstree(BinSeaTree * pbst);

bool BstreeIsEmpty(BinSeaTree * pbst);

bool BstreeIsFull(BinSeaTree * pbst);

int BstreeCountItem(BinSeaTree * pbst);

bool BstreeAddItem(Item item, BinSeaTree * pbst);

bool EmptyTheBstree(BinSeaTree * pbst);

